package com.buli.blmall.admin.common.domain;

import com.buli.blmall.admin.enums.LoginType;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Set;

/**
 * @author xiang.gao
 * @date 2024/12/18 14:56
 */
@Data
@Schema(description = "登录用户")
public class SysLoginUser {

    @Schema(description = "token")
    private String token;

    @Schema(description = "登录方式")
    private LoginType loginType;

    @Schema(description = "登录主体")
    private String principal;

    @Schema(description = "登录凭证")
    private String credentials;

    @Schema(description = "用户详情")
    private SysUserDetail userDetail;

    @Schema(description = "菜单权限")
    private Set<String> permission;

}
